<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
	int id = (Integer)session.getAttribute("UserId");
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="base.css" type="text/css" media="screen"
	charset="utf-8" />
<style type="text/css">
body {
	background-color: #E9F0DB;
	background-image: url(http://static.fanfou.com/img/bg/17.png);
	background-repeat: repeat;
	background-position: top left;
	color: #8D7947;
}

a,#sidebar a:hover,.pagination .more:hover,.stamp a:hover,.light .stamp a
	{
	color: #AF838C;
}

a:hover,.light .stamp .reply a {
	background-color: #AF838C;
}

a:hover .label,a.photo:hover img,.stamp a:hover,.light .stamp a {
	border-color: #AF838C;
}

.actions .open-notice:hover {
	color: #AF838C;
}

#sidebar {
	background-color: #F4F8ED;
	border-left: 1px solid #CEDDC2;
}

#sidebar .sect {
	border-top-color: #CEDDC2;
}

#sidebar .stabs {
	border-bottom-color: #CEDDC2;
}

#sidebar .stabs li.current a {
	color: #8D7947;
}

#user_stats li {
	border-left-color: #CEDDC2;
}

#user_stats .count {
	color: #8D7947;
}

#user_stats a:hover .count {
	color: #AF838C;
}

#goodapp span {
	color: #8D7947;
}
</style>
<title>设置_Switter</title>
<link rel="stylesheet"
	href="http://static.fanfou.com/js/yui/2.6.0/build/container/assets/skins/sam/container.css"
	type="text/css" media="screen" charset="utf-8" />
</head>
<body class="yui-skin-sam">
<div id="container">
<div id="header">
<h1><a href="http://fanfou.com/home"><img
	src="RESOURCE/switter.png" alt="Switter" /><span>首页</span></a></h1>
<div id="navigation" class="ui-roundedbox">
<div class="ui-roundedbox-corner ui-roundedbox-tl">
<div class="ui-roundedbox-corner ui-roundedbox-tr">
<div class="ui-roundedbox-corner ui-roundedbox-bl">
<div class="ui-roundedbox-corner ui-roundedbox-br">
<div class="ui-roundedbox-content">
<ul>
	<li><a href="index.jsp">首页</a></li>
	<li><a href="home.jsp?Id=<%=id%>">我的空间</a></li>
	<li><a href="browse.jsp">随便看看</a></li>

	<li><a href="http://switter.com/settings">设置</a></li>
	<li><a href="/Switter_beta/logout">退出</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="body" class="ui-roundedbox">
<div class="ui-roundedbox-corner ui-roundedbox-tl">
<div class="ui-roundedbox-corner ui-roundedbox-tr">
<div class="ui-roundedbox-corner ui-roundedbox-bl">
<div class="ui-roundedbox-corner ui-roundedbox-br">
<div class="ui-roundedbox-content">
<div class="inner-content" id="settings">
<div class="tabs">
<ul>
	<li class="current"><a href="/settings">基本信息</a></li>
	<li><a href="/settings/interest">兴趣爱好</a></li>
	<li><a href="/settings/account">账号和密码</a></li>
	<li><a href="/settings/mobile">手机</a></li>
	<li><a href="/settings/privacy">隐私</a></li>
	<li><a href="/settings/notify">通知</a></li>
	<li><a href="/settings/theme">模板</a></li>
</ul>
</div>
<form method="post" action="/Switter_beta/upload_avatar.jsp"
	enctype="multipart/form-data" id="setpicture" class="nf settings">
<p><label class="label_input" for="pro_bas_picture">头像</label>  <input type="file" name="picture"
	id="pro_bas_picture" class="input_file" />
	<input type="hidden" value="<%=id %>" name="UserId"></input>
	 <input type="submit" class="formbutton" value="上传" /> <span class="hint" id="picture_hint">最大可上传
2M 的照片</span></p>
</form>
<form method="post" action="/settings" id="setprofile"
	class="nf settings">
<p><label class="label_input" for="acc_realname">昵称</label> <input
	name="realname" type="text" class="input_text" id="acc_realname"
	value="JohnnyXia" maxlength="12" /> <span id="realname-hint"> </span>
<span class="hint hidden">不超过 6 个汉字，请勿使用特殊字符</span></p>
<p><label class="label_input">网址</label> <span class="url">http://fanfou.com/<strong>johnnyxia</strong></span>
</p>
<p><label class="label_input" for="pro_bas_gender">性别</label> <select
	name="gender" id="pro_bas_gender">
	<option value="Unknow"></option>
	<option value="Male" selected="selected">男</option>
	<option value="Female">女</option>
</select></p>
<p><label class="label_input" for="pro_bas_birthyear">生日</label> 
<input
	name="birth_year" type="text" class="input_text" id="pro_bas_birthyear"
	value="1992" maxlength="4" /> 年 <select name="birth_month"
	id="pro_bas_birthmonth">
	
</select> 月 <select name="birth_day" id="pro_bas_birthday">
	
</select> 日</p>
<p><label class="label_input" for="pro_bas_province">所在地</label> <select
	name="province" id="pro_bas_province" class="city-select">
	
</select> <select name="city" id="pro_bas_city">
	
</select></p>
<p><label class="label_input" for="pro_bas_homeprovince">家乡</label>
<select name="homeprovince" id="pro_bas_homeprovince"
	class="city-select">
	
</select> <select name="homecity" id="pro_bas_homecity">
	
</select></p>
<p><label class="label_input" for="pro_bas_website">个人网址</label> <input
	name="website" type="text" class="input_text" id="pro_bas_website"
	value="" /> <span class="hint">(<a
	href="http://fanfou.com/badge">你可以把Switter添加到你的博客</a>)</span></p>
<p><label class="label_input" for="pro_bas_detail">自述</label> <textarea
	name="detail" id="pro_bas_detail" rows="6" cols="50"></textarea> <span
	class="hint hidden">最多 200 个汉字</span></p>
<p class="act"><input type="hidden" name="action"
	value="settings.base" /> <input type="hidden" name="token"
	value="2f5ea4c9" /> <input type="submit" class="formbutton" value="保存" />
</p>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>


</body>
</html>
